<?php
namespace Home\Model;
use Think\Model;
class DeviceModel extends Model{
	protected $_validate = array(
		array('title', 'require', "标题不能为空！",  self::MUST_VALIDATE, null, self::MODEL_BOTH  ),
	);
	
	protected $_vali = array(
		array("number", "is_id", "测试机台数只能是大于1的正整数！", self::MUST_VALIDATE, "function"),
	);
}

?>